
<div ng-controller="CarstockCtrl">
	
<div ng-include="'/templates/paramsSelect.html'"></div>
	<div class="page-heading">
		<ul class="breadcrumb">
			<li><a href="javascript:;">报表管理</a></li>
			<li >车辆分析</li>
			<li class="active" ng-hide="menuName">车辆库存明细表</li>
			<li class="active" ng-show="menuName" ng-bind="menuName"></li>
			<span style="margin-right:10px;"  class="btn btn-danger btn-xs pull-right btn-flag " ng-show="flag" ng-click="delFlag('/caranalysis/carstock/')"><i class="fa fa-times"></i> 删除 </span>
			<span style="margin-right:10px;"  class="btn btn-info btn-xs pull-right btn-flag " ng-click="addFlag('#/caranalysis/carstock/')"><i class="fa fa-star"></i> 收藏 </span>
		</ul>
	</div>
	<!-- 页面头部  end-->

	<!--页面内容显示区域-->
	<div class="wrapper">


		<div class="row">
			<div class="col-sm-12">
				<!--表格显示区域-->
				<section class="panel">
					<!--区块头 显示表格名称和功能按钮-->
					<header class="panel-heading">
						车辆库存明细表
						<!--控制按钮-->
						<span class="tools pull-right"> <!--收起-->
							<button type="button" class="btn btn-success pull-left" ng-click="SearchData()"
								style="margin-left: 5px;">
								<i class="fa fa-search"></i> 查询
							</button>
							<button type="button" class="btn btn-info  pull-left" ng-click="ExportData()"
								style="margin-left: 5px;">
								<i class="fa fa-table"></i> 导出EXCEL
							</button> <a href="javascript:;" class="fa fa-chevron-up form_display"></a>

						</span>
					</header>
					<!--区块body 显示表格内容-->
					<div class="panel-body form-horizontal form_hide">
						<div class="row">
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">事业部</label>
										<div class="col-lg-8 col-sm-7">
										<input type="text" id="entity_group_name"  ng-keyup="clearGroup()" name="entity_group_name"   class="form-control select_edit form_params" />
                                            <ul class="select_list">
                                                  <li ng-repeat="e in groups" ng-click='LoadBrands(e.group_name)' val_code="{{e.group_name}}" val_name="{{e.group_name}}">{{e.group_name}}</li>
                                            </ul>  
                                            </div>
								</div>
							</div>
							
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">店面品牌</label>
									<div class="col-lg-8 col-sm-7">
										<input type="text" id="entity_brand_name" ng-keyup="clearGroupBrand()"  name="entity_brand_name" class="form-control select_edit form_params" value=""/>
                                            <ul class="select_list">
                                                  <li ng-repeat="e in gBrands" ng-click='LoadEntitys(e)' val_code="{{e.brand_code}}" val_name="{{e.brand_name}}">{{e.brand_name}}</li>
                                            </ul> 
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label" for="inputEmail1">店面信息</label>
									<div class="col-lg-8 col-sm-7">
											<input type="text" id="entity_name" ng-model="entityInfo" ng-keyup="clearGroupBrandEntity()" name="entity_name" class="form-control select_edit form_params" value=""/>
                                            <ul class="select_list">
                                                  <li ng-repeat="e in entitys" val_code="{{e.entity_code}}" val_name="{{e.entity_name}}" ng-click="getStorage($event)">{{e.entity_name}}({{e.entity_code}})</li>
                                            </ul>  
									</div>
								</div>
							</div>
						
						<!-- VIN-->
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">VIN</label>
									<div class="col-lg-8 col-sm-7">
										<input name="vin" class="form-control form_params" />
									</div>
								</div>
							</div>
							
							<!-- 仓库-->
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">仓库</label>
									<div class="col-lg-8 col-sm-7">
										<select name="storage_code" class="form-control form_params">
											<option></option>
											<option ng-selected="b.storage_code==selected.storage_code" ng-repeat="b in storage_list" value="{{b.storage_code}}">{{b.storage_name}}</option>
										</select>
									</div>
								</div>
							</div>
							
							<!-- 配车状态-->
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">配车状态</label>
									<div class="col-lg-8 col-sm-7">
										<select name="statusdispatched" class="form-control form_params">
											<option></option>
											<option  ng-selected="b.status_code==selected.statusdispatched" ng-repeat="b in vehicleStatus_list" value="{{b.status_code}}">{{b.status_desc}}</option>
										</select>
									</div>
								</div>
							</div>
						
						    <!-- 库存状态 -->
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">库存状态</label>
									<div class="col-lg-8 col-sm-7">
										<select name="stocksta" class="form-control form_params">
											<option></option>
											<option  ng-selected="b.status_code==selected.stocksta" ng-repeat="b in stockStatus_list" value="{{b.status_code}}">{{b.status_desc}}</option>
										</select>
									</div>
								</div>
							</div>
							
							
							
							<!-- 质损状态 -->
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">质损状态</label>
									<div class="col-lg-8 col-sm-7">
										<select name="statusmar" class="form-control form_params">
											<option></option>
											<option  ng-selected="b.status_code==selected.statusmar" ng-repeat="b in masslossStatus_list" value="{{b.status_code}}">{{b.status_desc}}</option>
										</select>
									</div>
								</div>
							</div>
							
							
							
							
							<!-- 入库日期-->
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label" for="inputEmail1">入库日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											<input type="text" name="firstStockInDate1" class="form-control form_params" id="firstStockInDate1" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'firstStockInDate2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
							
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											<input type="text" name="firstStockInDate2" class="form-control form_params" id="firstStockInDate2" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'firstStockInDate1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>
							
							<!-- 出库日期-->
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label" for="inputEmail1">出库日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											<input type="text" name="firstStockOutDate1" class="form-control form_params" id="firstStockOutDate1" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'firstStockOutDate2\')||\'2020-10-01\'}'})">
											
										</div>
									</div>
								</div>
							</div>
                            
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class=" input-large custom-date-range">
											 <input type="text" name="firstStockOutDate2" class="form-control form_params" id="firstStockOutDate2" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'firstStockOutDate1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>
							
							
							
						</div>
					</div>
				</section>

				<section class="panel">
					<!--区块头 显示表格名称和功能按钮-->
					<header class="panel-heading">
						车辆库存明细表
						<headshow></headshow>
						<div class="option_check_list" style="display: inline-block;"></div>

						<!--控制按钮-->
						<span class="tools pull-right"> <!--收起--> <a
							href="javascript:;" class="fa fa-chevron-down"></a>
						</span>
						<div class="pull-right"
							style="margin-right: 10px; margin-top: -6px; display: inline-block">
							<button type="button" class="btn btn-danger btn-sm " href="#paramsSelect"
								data-toggle="modal">
								<i class="fa fa-plus"></i> 在结果集中筛选
							</button>
							<button type="button" class="btn btn-success btn-sm"
								id="search_table" ng-click="SearchData();">
								<i class="fa fa-search"></i> 查询表格
							</button>
						</div>
					</header>
					<!--区块body 显示表格内容-->
					<div class="panel-body form-horizontal ">

						<div class="adv-table" style="overflow-x: scroll">
							<table id="carstockTable"
								class="table table-striped  nowrap  dataTable no-footer table_store table-hover float_head"
								cellspacing="0" width="100%">
								<thead>
									<tr>
										<th ng-show="!cols.contains('index')" column="index">序号</th>
										<th ng-show="!cols.contains('entitycode')" column="entitycode">店面编号</th>
										<th ng-show="!cols.contains('entity_name')" column="entity_name">店面名称</th>
										<th ng-show="!cols.contains('entity_brand_name')" column="entity_brand_name">店面品牌</th>
										<th ng-show="!cols.contains('entity_group_name')" column="entity_group_name">事业部</th>
										<th ng-show="!cols.contains('brandname')" column="brandname">品牌</th>
										<th ng-show="!cols.contains('seriesname')" column="seriesname">车系</th>
										<th ng-show="!cols.contains('modelname')" column="modelname">车型</th>
										<th ng-show="!cols.contains('configname')" column="configname">配置</th>
										<th ng-show="!cols.contains('colorname')" column="colorname">颜色</th>
										<th ng-show="!cols.contains('productcode')" column="productcode">产品代码</th>
										<th ng-show="!cols.contains('productname')" column="productname">产品名称</th>
										<th qtype="bool" ng-show="!cols.contains('fakeflag')" column="fakeflag">是否虚销车</th>
										<th qtype="date" ng-show="!cols.contains('manufacturedate')" column="manufacturedate">生产日期</th>
										<th qtype="date" ng-show="!cols.contains('vspurchasedate')" column="vspurchasedate">采购日期</th>
										<th qtype="float" ng-show="!cols.contains('purchaseprice')" column="purchaseprice">采购价格</th>
										<th qtype="float" ng-show="!cols.contains('notaxvehiclecost')" column="notaxvehiclecost">不含税采购价格</th>
										<th qtype="date" ng-show="!cols.contains('transferdate')" column="transferdate">移库日期</th>
										<th ng-show="!cols.contains('vin')" column="vin">VIN</th>
										<th ng-show="!cols.contains('seno')" column="seno">最后入库单号</th>
										<th ng-show="!cols.contains('sdno')" column="sdno">最后出库单号</th>
										<th qtype="date" ng-show="!cols.contains('firststockindate')" column="firststockindate">首次入库日期</th>
										<th qtype="date" ng-show="!cols.contains('lateststockindate')" column="lateststockindate">最后入库日期</th>
										<th qtype="date" ng-show="!cols.contains('firststockoutdate')" column="firststockoutdate">首次出库日期</th>
										<th qtype="date" ng-show="!cols.contains('lateststockoutdate')" column="lateststockoutdate">最后出库日期</th>
										<!-- <th qtype="long" ng-show="!cols.contains('intransitday')" column="intransitday">库龄</th> -->
										<th ng-show="!cols.contains('storagename')" column="storagename">仓库</th>
										<th ng-show="!cols.contains('dispatchedstatus')" column="dispatchedstatus">配车状态</th>
										<th ng-show="!cols.contains('stockstatus')" column="stockstatus">库存状态</th>
										<th ng-show="!cols.contains('marstatus')" column="marstatus">质损状态</th>
										<th ng-show="!cols.contains('keynumber')" column="keynumber">钥匙编号</th>
										<th ng-show="!cols.contains('hascertificate')" column="hascertificate">是否有合格证</th>
										<th ng-show="!cols.contains('certificatenumber')" column="certificatenumber">合格证号</th>
										<th ng-show="!cols.contains('oemtag')" column="oemtag">集团标识</th>
										<th ng-show="!cols.contains('issecondhand')" column="issecondhand">是否二手车</th>
										<th ng-show="!cols.contains('istestdrivecar')" column="istestdrivecar">是否试乘试驾</th>
										<th ng-show="!cols.contains('isconsigned')" column="isconsigned">是否委托交车</th>
										<th ng-show="!cols.contains('ispromotion')" column="ispromotion">是否促销车</th>
										<th ng-show="!cols.contains('soldname')" column="soldname">销售顾问</th>
										<th qtype="date" ng-show="!cols.contains('deliveringdate')" column="deliveringdate">预定交车日期</th>
										<th qtype="date" ng-show="!cols.contains('invoicedate')" column="invoicedate">开票日期</th>
										<th qtype="date" ng-show="!cols.contains('dispatcheddate')" column="dispatcheddate" >配车日期</th>
										<th qtype="long" ng-show="!cols.contains('intransitdays')" column="intransitdays">库龄(天)</th>
										<th ng-show="!cols.contains('islargeconsumer')" column="islargeconsumer">是否大客户</th>
										<th qtype="date" ng-show="!cols.contains('saleduploaddate')" column="saleduploaddate">实销上报日期</th>
										<th ng-show="!cols.contains('issaledupload')" column="issaledupload">是否实销上报</th>
										<th ng-show="!cols.contains('certificatelocated')" column="certificatelocated">合格证所在地</th>
										<th ng-show="!cols.contains('sourcename')" column="sourcename">资金来源</th>
										
										<th ng-show="!cols.contains('oem_directive_price')" column="oem_directive_price">厂家指导价</th>
										<th ng-show="!cols.contains('oem_name')" column="oem_name">厂家名称</th>
										<th qtype='bool' ng-show="!cols.contains('is_coupe')" column="is_coupe">是否跑车</th>
										<th ng-show="!cols.contains('latest_in_time')" column="latest_in_time">最新入库时间</th>
										<th ng-show="!cols.contains('fake_date')" column="fake_date">虚销日期</th>
										<th qtype='bool' ng-show="!cols.contains('is_problem')" column="is_problem">是否问题车辆</th>
									</tr>
								</thead>
								<tbody>
									<tr ng-repeat="c in carstock">								
										<td ng-show="!cols.contains('index')" class="">{{$index + 1 }}</td>
										<td ng-show="!cols.contains('entitycode')" column="entitycode">{{c.entitycode}}</td>
										<td ng-show="!cols.contains('entity_name')" column="entity_name">{{c.entity_name}}</td>
										<td ng-show="!cols.contains('entity_brand_name')" column="entity_brand_name">{{c.entity_brand_name}}</td>
										<td ng-show="!cols.contains('entity_group_name')" column="entity_group_name">{{c.entity_group_name}}</td>
										<td ng-show="!cols.contains('brandname')" class="">{{c.brandname}}</td><!-- 品牌 -->
										<td ng-show="!cols.contains('seriesname')" class="">{{c.seriesname}}</td><!-- 车系-->
										<td ng-show="!cols.contains('modelname')" class="">{{c.modelname}}</td><!-- 车型-->
										<td ng-show="!cols.contains('configname')" class="">{{c.configname}}</td><!-- 配置-->
										<td ng-show="!cols.contains('colorname')"  class="">{{c.colorname}}</td><!-- 颜色-->
										<td ng-show="!cols.contains('productcode')"  class="">{{c.productcode}}</td><!-- 产品代码-->
										<td ng-show="!cols.contains('productname')"  class="">{{c.productname}}</td><!-- 产品名称-->
										<td ng-show="!cols.contains('fake_flag')" class="">{{c.fakeflag=='12781001'?'是':(c.fakeflag=='12781002'?'否':'')}}</td>
										<td ng-show="!cols.contains('manufacturedate')"  class="">{{c.manufacturedate | date : 'yyyy-MM-dd HH:mm:ss'}}</td><!-- 生产日期 -->
										<td ng-show="!cols.contains('vspurchasedate')"  class="">{{c.vspurchasedate | date : 'yyyy-MM-dd HH:mm:ss'}}</td><!-- 采购日期-->
										<td ng-show="!cols.contains('purchaseprice')"  class="right">{{c.purchaseprice|number:2}}</td><!-- 采购价格-->
										<td ng-show="!cols.contains('notaxvehiclecost')"  class="right">{{c.notaxvehiclecost|number:2}}</td><!-- 不含税采购价格 -->
										<td ng-show="!cols.contains('transferdate')"  class="">{{c.transferdate | date : 'yyyy-MM-dd HH:mm:ss'}}</td><!-- 移库日期-->
										<td ng-show="!cols.contains('vin')"  class="">{{c.vin}}</td><!-- vin-->
										<td ng-show="!cols.contains('seno')"  class="">{{c.seno}}</td><!-- 最后入库单号-->
										<td ng-show="!cols.contains('sdno')"  class="">{{c.sdno}}</td><!-- 最后出库单号-->
										<td ng-show="!cols.contains('firststockindate')"  class="">{{c.firststockindate | date : 'yyyy-MM-dd HH:mm:ss'}}</td><!-- 首次入库日期-->
										<td ng-show="!cols.contains('lateststockindate')"  class="">{{c.lateststockindate | date : 'yyyy-MM-dd HH:mm:ss'}}</td><!-- 最后入库日期-->
										<td ng-show="!cols.contains('firststockoutdate')"  class="">{{c.firststockoutdate | date : 'yyyy-MM-dd HH:mm:ss'}}</td><!-- 首次出库日期-->
										<td ng-show="!cols.contains('lateststockoutdate')"  class="">{{c.lateststockoutdate | date : 'yyyy-MM-dd HH:mm:ss'}}</td><!-- 最后出库日期-->
										<!-- <td ng-show="!cols.contains('intransitday')"  class="right">{{c.intransitday}}</td> --><!-- 库龄-->
										<td ng-show="!cols.contains('storagename')"  class="">{{c.storagename}}</td><!-- 仓库-->
										<td ng-show="!cols.contains('dispatchedstatus')"  class="">{{c.dispatchedstatus}}</td><!-- 配车状态 -->
										<td ng-show="!cols.contains('stockstatus')"  class="">{{c.stockstatus}}</td><!-- 库存状态-->
										<td ng-show="!cols.contains('marstatus')"  class="">{{c.marstatus}}</td><!-- 质损状态-->
										<td ng-show="!cols.contains('keynumber')"  class="">{{c.keynumber}}</td><!-- 钥匙编号 -->
										<td ng-show="!cols.contains('hascertificate')"  class="">{{c.hascertificate}}</td><!-- 是否有合格证-->
										<td ng-show="!cols.contains('certificatenumber')"  class="">{{c.certificatenumber}}</td><!-- 合格证号-->
										<td ng-show="!cols.contains('oemtag')"  class="">{{c.oemtag}}</td><!-- 集团标识 -->
										<td ng-show="!cols.contains('issecondhand')"  class="">{{c.issecondhand}}</td><!-- 是否二手车 -->
										<td ng-show="!cols.contains('istestdrivecar')"  class="">{{c.istestdrivecar}}</td><!-- 是否试乘试驾 -->
										<td ng-show="!cols.contains('isconsigned')"  class="">{{c.isconsigned}}</td><!-- 是否委托交车 -->
										<td ng-show="!cols.contains('ispromotion')"  class="">{{c.ispromotion}}</td><!-- 是否促销车 -->
										<td ng-show="!cols.contains('soldname')"  class="">{{c.soldname}}</td><!-- 销售顾问-->
										<td ng-show="!cols.contains('deliveringdate')"  class="">{{c.deliveringdate | date : 'yyyy-MM-dd HH:mm:ss'}}</td><!-- 预定交车日期	-->
										<td ng-show="!cols.contains('invoicedate')"  class="">{{c.invoicedate | date : 'yyyy-MM-dd HH:mm:ss'}}</td><!-- 开票日期 -->	
										<td ng-show="!cols.contains('dispatcheddate')"  class="">{{c.dispatcheddate | date : 'yyyy-MM-dd HH:mm:ss'}}</td><!-- 配车日期 -->
										<td ng-show="!cols.contains('intransitdays')"  class="right">{{c.intransitdays}}</td><!--库龄(天)-->
										<td ng-show="!cols.contains('islargeconsumer')"  class="">{{c.islargeconsumer}}</td><!--是否大客户-->
										<td ng-show="!cols.contains('saleduploaddate')"  class="">{{c.saleduploaddate | date : 'yyyy-MM-dd HH:mm:ss'}}</td><!-- 实销上报日期	 -->
										<td ng-show="!cols.contains('issaledupload')"  class="">{{c.issaledupload}}</td><!-- 是否实销上报	 -->	
										<td ng-show="!cols.contains('certificatelocated')"  class="">{{c.certificatelocated}}</td><!--合格证所在地		-->
										<td ng-show="!cols.contains('sourcename')"  class="">{{c.sourcename}}</td><!--资金来源		-->
										
										<td ng-show="!cols.contains('oem_directive_price')"  class="">{{c.oem_directive_price | number:2}}</td><!--厂家指导价		-->
										<td ng-show="!cols.contains('oem_name')"  class="">{{c.oem_name}}</td><!--厂家名称		-->
										<td ng-show="!cols.contains('is_coupe')"  class="">{{c.is_coupe=='12781001'?'是':(c.is_coupe=='12781002'?'否':'') }}</td><!--是否跑车		-->
										<td ng-show="!cols.contains('latest_in_time')"  class="">{{c.lateststockindate | date : 'yyyy-MM-dd HH:mm:ss'}}</td><!--最新入库时间		-->
										<td ng-show="!cols.contains('fake_date')"  class="">{{c.fake_date | date : 'yyyy-MM-dd HH:mm:ss'}}</td><!--虚销日期		-->
										<td ng-show="!cols.contains('is_problem')"  class="">{{c.is_problem=='12781001'?'是':(c.is_problem=='12781002'?'否':'') }}</td><!--是否问题车辆		-->
									</tr>

									<tr class="tbody_last_tr" ng-show="pagination.totalItems > 0">
										<td ng-show="!cols.contains('index')" class=""></td>
										<td ng-show="!cols.contains('entitycode')" class=""></td>
										<td ng-show="!cols.contains('entity_name')" class=""></td>
										<td ng-show="!cols.contains('entity_brand_name')" class=""></td>
										<td ng-show="!cols.contains('entity_group_name')" class=""></td>
										<td ng-show="!cols.contains('brandname')" class=""></td><!-- 品牌 -->
										<td ng-show="!cols.contains('seriesname')" class=""></td><!-- 车系-->
										<td ng-show="!cols.contains('modelname')" class=""></td><!-- 车型-->
										<td ng-show="!cols.contains('configname')" class=""></td><!-- 配置-->
										<td ng-show="!cols.contains('colorname')"  class=""></td><!-- 颜色-->
										<td ng-show="!cols.contains('productcode')"  class=""></td><!-- 产品代码-->
										<td ng-show="!cols.contains('productname')"  class=""></td><!-- 产品名称-->
										<td ng-show="!cols.contains('fake_flag')" class=""></td>
										<td ng-show="!cols.contains('manufacturedate')"  class=""></td><!-- 生产日期 -->
										<td ng-show="!cols.contains('vspurchasedate')"  class=""></td><!-- 采购日期-->
										<td ng-show="!cols.contains('purchaseprice')"  class="right">{{stockSum.sum_purchaseprice.value|number:2}}</td><!-- 采购价格-->
										<td ng-show="!cols.contains('notaxvehiclecost')"  class="right">{{stockSum.sum_notaxvehiclecost.value|number:2}}</td><!-- 不含税采购价格 -->
										<td ng-show="!cols.contains('transferdate')"  class=""></td><!-- 移库日期-->
										<td ng-show="!cols.contains('vin')"  class=""></td><!-- vin-->
										<td ng-show="!cols.contains('seno')"  class=""></td><!-- 最后入库单号-->
										<td ng-show="!cols.contains('sdno')"  class=""></td><!-- 最后出库单号-->
										<td ng-show="!cols.contains('firststockindate')"  class=""></td><!-- 首次入库日期-->
										<td ng-show="!cols.contains('lateststockindate')"  class=""></td><!-- 最后入库日期-->
										<td ng-show="!cols.contains('firststockoutdate')"  class=""></td><!-- 首次出库日期-->
										<td ng-show="!cols.contains('lateststockoutdate')"  class=""></td><!-- 最后出库日期-->
										<td ng-show="!cols.contains('intransitday')"  class="right"></td><!-- 库龄-->
										<td ng-show="!cols.contains('storagename')"  class=""></td><!-- 仓库-->
										<td ng-show="!cols.contains('dispatchedstatus')"  class=""></td><!-- 配车状态 -->
										<td ng-show="!cols.contains('stockstatus')"  class=""></td><!-- 库存状态-->
										<td ng-show="!cols.contains('marstatus')"  class=""></td><!-- 质损状态-->
										<td ng-show="!cols.contains('keynumber')"  class=""></td><!-- 钥匙编号 -->
										<td ng-show="!cols.contains('hascertificate')"  class=""></td><!-- 是否有合格证-->
										<td ng-show="!cols.contains('certificatenumber')"  class=""></td><!-- 合格证号-->
										<td ng-show="!cols.contains('oemtag')"  class=""></td><!-- 集团标识 -->
										<td ng-show="!cols.contains('issecondhand')"  class=""></td><!-- 是否二手车 -->
										<td ng-show="!cols.contains('istestdrivecar')"  class=""></td><!-- 是否试乘试驾 -->
										<td ng-show="!cols.contains('isconsigned')"  class=""></td><!-- 是否委托交车 -->
										<td ng-show="!cols.contains('ispromotion')"  class=""></td><!-- 是否促销车 -->
										<td ng-show="!cols.contains('soldname')"  class=""></td><!-- 销售顾问-->
										<td ng-show="!cols.contains('deliveringdate')"  class=""></td><!-- 预定交车日期	-->
										<td ng-show="!cols.contains('invoicedate')"  class=""></td><!-- 开票日期 -->
										<td ng-show="!cols.contains('dispatcheddate')"  class=""></td><!-- 配车日期 -->
										<td ng-show="!cols.contains('intransitdays')"  class="right"></td><!--库龄(天)-->
										<td ng-show="!cols.contains('islargeconsumer')"  class=""></td><!--是否大客户-->
										<td ng-show="!cols.contains('saleduploaddate')"  class=""></td><!-- 实销上报日期	 -->
										<td ng-show="!cols.contains('issaledupload')"  class=""></td><!-- 是否实销上报	 -->
										<td ng-show="!cols.contains('certificatelocated')"  class=""></td><!--合格证所在地		-->
										<td ng-show="!cols.contains('sourcename')"  class=""></td><!--资金来源		-->

										<td ng-show="!cols.contains('oem_directive_price')"  class="">{{stockSum.sum_oemdirectiveprice.value | number:2}}</td><!--厂家指导价		-->
										<td ng-show="!cols.contains('oem_name')"  class=""></td><!--厂家名称		-->
										<td ng-show="!cols.contains('is_coupe')"  class=""></td><!--是否跑车		-->
										<td ng-show="!cols.contains('latest_in_time')"  class=""></td><!--最新入库时间		-->
										<td ng-show="!cols.contains('fake_date')"  class=""></td><!--虚销日期		-->
										<td ng-show="!cols.contains('is_problem')"  class=""></td><!--是否问题车辆		-->
									</tr>
								</tbody>
							</table>
								<div class="no-items" ng-show="pagination.totalItems <= 0">暂无数据</div>
						</div>
						<tm-pagination conf="pagination"></tm-pagination>
					</div>
				</section>
				<!--表格显示区域-->
			</div>
		</div>
	</div>
	 
</div>

<form id="export_form" action="carStock/export"  method="post">
	<input type="hidden" name="keys" id="keys" />
	<input type="hidden" name="names" id="names" /> 
	<input type="hidden" name="params" id="params" />
	<input type="hidden" name="search_opt" id="search_opt" /> 
	<input type="hidden" name="file_name" id="file_name" value="车辆库存明细"/>
</form>